package designpatterns.factory.simple;

/**
 * @program: MyTank
 * @description:
 * @author: 王术平
 * @create: 2021-01-10 23:33
 **/
public class Test {
    public static void main(String[] args) {
        CarFactory factory = new CarFactory();
        Car car = factory.create();

        PlaneFactory fc = new PlaneFactory();
        Plane plane = fc.create();

    }
}
